import yaml

with open('config.yaml', 'r') as f:
    config = yaml.safe_load(f)

# OpenAI配置
OPENAI_API_KEY = config['models']['openai']['api_key']
OPENAI_BASE_URL = config['models']['openai']['base_url']

# 可用模型列表
AVAILABLE_MODELS = config['models']['openai']['available_models']

# 默认模型
DEFAULT_MODEL = config['models']['openai']['default_model'] 